package com.lhkj.ct.meta.admin.converter;

import com.lhkj.ct.meta.admin.model.dto.OrganForm;
import com.lhkj.ct.meta.admin.model.entity.TblOrgan;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * <p>
 * 描述
 * </p>
 *
 * @author job
 * @since 2023/9/14
 */
@Mapper(componentModel = "spring")
public interface FormConverter {

    // 使用工厂方法获取对象实例
    FormConverter INSTANCE = Mappers.getMapper(FormConverter.class);

    TblOrgan convertForm2Role(OrganForm roleForm);
}
